<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		var arr=[1,2,3,4,5,6];

		

		var result=arr.filter(function(item,index,arr){
			//console.log(this);
			return item>4

		});
		console.log(result);













	</script>
</head>
<body>
	
</body>
</html>